//
//  LBRadialGradientFilter.h
//  OpenGLGame
//
//  Created by Nguyen Cong Huy on 12/1/12.
//  Copyright (c) 2012 UIT. All rights reserved.
//

#ifndef OpenGLGame_LBRadialGradientFilter_h
#define OpenGLGame_LBRadialGradientFilter_h

#include "LBFilter.h"
#include "LBStruct.h"

class LBRadialGradientFilter : public LBFilter{
    LBVector2 center;
    LBVector3 centerColor;
    LBVector3 outterColor;
    float opacity;
    
    GLuint centerUniform, centerColorUniform, outterColorUniform, opacityUniform;
    
public:
    LBRadialGradientFilter();
    void setCenter(float x, float y);
    void setCenterColor(float red, float green, float blue);
    void setOutterColor(float red, float green, float blue);
    void setOpacity(float opacity);
};

#endif
